package com.tensquare.gathering.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 用户关注活动对象 tb_usergath
 * 
 * @author hbxfwf
 * @date 2021-08-25
 */
public class Usergath extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    private String userid;

    /** 活动ID */
    private String gathid;

    /** 点击时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "点击时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date exetime;

    public void setUserid(String userid) 
    {
        this.userid = userid;
    }

    public String getUserid() 
    {
        return userid;
    }
    public void setGathid(String gathid) 
    {
        this.gathid = gathid;
    }

    public String getGathid() 
    {
        return gathid;
    }
    public void setExetime(Date exetime) 
    {
        this.exetime = exetime;
    }

    public Date getExetime() 
    {
        return exetime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userid", getUserid())
            .append("gathid", getGathid())
            .append("exetime", getExetime())
            .toString();
    }
}
